package Chapter7;
import java.util.*;
public class Example12 {
	public static void main(String[] args) {
		TreeSet ts=new TreeSet();
		ts.add("jack");
		ts.add("helena");
		ts.add("eve");
		Iterator it=ts.iterator();
		while(it.hasNext()) {
			System.out.println(it.next());
		}
	}

}
